package cn.csust.net2.manager.shared.po;

import java.io.Serializable;
import java.util.Date;

import cn.csust.net2.manager.shared.vo.UserProperty;
import cn.csust.net2.manager.shared.xml.XmlInfo;
import cn.csust.net2.manager.shared.xml.XmlResources;

import com.extjs.gxt.ui.client.data.BeanModelTag;

public class RatifyJoinParty extends PO implements Serializable,SchoolYearObj,BeanModelTag, UserProperty {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4603281831332911117L;
	
	private Integer ratifyJoinPartyID;
	private Date joinDate;
	private String schoolYear;
	private String introducer;
	private String autobiography;
	private Date zhuanzhengDate;
	private String zhuanzhengPetition;
	private String remark;
	
	private User user;

	public RatifyJoinParty() {
		
	}
	
	public Integer getRatifyJoinPartyID() {
		return ratifyJoinPartyID;
	}

	public void setRatifyJoinPartyID(Integer ratifyJoinPartyID) {
		this.ratifyJoinPartyID = ratifyJoinPartyID;
	}

	public Date getJoinDate() {
		return joinDate;
	}

	public void setJoinDate(Date joinDate) {
		this.joinDate = joinDate;
	}

	public String getIntroducer() {
		return introducer;
	}

	public void setIntroducer(String introducer) {
		this.introducer = introducer;
	}

	public String getAutobiography() {
		return autobiography;
	}

	public void setAutobiography(String autobiography) {
		this.autobiography = autobiography;
	}

	public Date getZhuanzhengDate() {
		return zhuanzhengDate;
	}

	public void setZhuanzhengDate(Date zhuanzhengDate) {
		this.zhuanzhengDate = zhuanzhengDate;
	}

	public String getZhuanzhengPetition() {
		return zhuanzhengPetition;
	}

	public void setZhuanzhengPetition(String zhuanzhengPetition) {
		this.zhuanzhengPetition = zhuanzhengPetition;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	@Override
	public String getDisplayName() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	protected XmlInfo getXmlInfo(XmlResources instance) {
		// TODO Auto-generated method stub
		XmlInfo xmlInfo = new XmlInfo();
		xmlInfo.setTextResource(instance.ratifyJoinParty());
		return xmlInfo;
	}

	public String getSchoolYear() {
		return schoolYear;
	}

	public void setSchoolYear(String schoolYear) {
		this.schoolYear = schoolYear;
	}

	@Override
	public void setYear(String year) {
		// TODO Auto-generated method stub
		this.setSchoolYear(year);
	}

}
